<template>
  <div class="bg">
    <div class="nav"></div>
    <div class="header">
      <van-cell
        title="医院简介"
        is-link
        @click="gomessage()"
        title-style="
font-size: 15px;
font-family: PingFang SC;
font-weight: 400;
color: #333333;
"
      />
      <van-cell
        title="版本更新"
        title-style="font-size: 15px;font-family: PingFang SC;font-weight: 400;
color: #333333;"
        value="V1.0"
        size="large"
      />
      <van-cell
        title="客服电话"
        value-class="phone-right"
        title-style="
font-size: 15px;
font-family: PingFang SC;
font-weight: 400;
color: #333333;"
        value="400-5758-4849"
        size="large"
      />
    </div>
    <div class="backLogin" @click="outlogin()">退出登录</div>
  </div>
</template>
<script>
import { Cell, CellGroup } from "vant";
export default {
  name: "index",
  data() {
    return {};
  },
  methods: {
    // 医院简介
    gomessage() {
      this.$router.push({
        name: "Hospital_profile",
      });
    },
    outlogin(){
       window.localStorage.removeItem("token")
       this.$router.push({
         name: "Mine",
       })
    }
  },
};
</script>
<style lang="scss" scoped>
.phone-right {
  font-size: 15px;
  font-family: PingFang SC;
  font-weight: 400;
  color: #07c6b4;
}
.bg {
  width: 100%;
  height: 100vh;
  background: #f6f6f6;
  .nav {
    height: 44px;
  }
  .header {
    margin-bottom: 10px;
  }
  .backLogin {
    width: 100%;
    height: 40px;
    background: #fff;
    font-size: 16px;
    font-family: PingFang SC;
    font-weight: 400;
    color: #07c6b4;
    text-align: center;
    line-height: 40px;
  }
}
</style>